﻿using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using WOA.Model;

public class StartButton : MonoBehaviour {

    public InputField inputField;

    // Use this for initialization
    void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

    public void OnClick()
    {
        User.Account = inputField.text;

        SceneManager.LoadScene("LoadingScene");

    }
}
